package com.glq1218.authentication.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author glq1218
 */
@Data
@Schema(description = "注册DTO")
public class RegisterDTO {
    /**
     * 用户名
     */
    @NotNull
    @Schema(description = "用户名")
    private String username;
    /**
     * 密码
     */
    @NotNull
    @Schema(description = "密码")
    private String password;
    /**
     * 确认密码
     */
    @NotNull
    @Schema(description = "确认密码")
    private String confirmPassword;
}
